@charset 'utf-8';
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-align: center;
    select {
        width: 200px;
        height: 30px;
        line-height: 30px;
        text-align: center;
    }
    .carousel {
        height: 500px;
        padding: 20px;
        -webkit-perspective: 500px;
        perspective: 500px;
        overflow: hidden;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .carousel>* {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
    .carousel figure {
        margin: 0;
        width: 40%;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
        -webkit-transition: -webkit-transform 0.5s;
        transition: -webkit-transform 0.5s;
        transition: transform 0.5s;
        transition: transform 0.5s, -webkit-transform 0.5s;
    }
    .carousel figure li {
        list-style: none;
        width: 100%;
        box-sizing: border-box;
        padding: 0 0px;
        img{
            width: 100%;
        }
    }
    .carousel figure li:not(:first-of-type) {
        position: absolute;
        left: 0;
        top: 0;
    }
    .carousel nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 20px 0 0;
    }
    .carousel nav button {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        margin: 0 5px;
        cursor: pointer;
        color: #333;
        background: none;
        border: 1px solid;
        letter-spacing: 1px;
        padding: 5px 10px;
    }
}